import OperatorAndRoleRoute from './permission/OperatorAndRoleRoute'
import RoleAndPermissionRoute from './permission/RoleAndPermissionRoute'
import RoleRoute from './permission/RoleRoute'
import PermissionRoute from './permission/PermissionRoute'
import ModuleRoute from './permission/ModuleRoute'
import OperatorRoute from './permission/OperatorRoute'
import EmployeeRoute from './organization/EmployeeRoute'
import CodeTableRoute from './system/CodeTableRoute'

import OrganizationRoute from './organization/OrganizationRoute'

/**
 * 系统设置
 */
export default [
  {
    path: '/',
    component: () => import('../main/main'),
    meta: {
      modules: 'simple',
      label: '系统设置',
      icon: 'el-icon-message'
    },
    children: [
      ...OrganizationRoute,
      ...CodeTableRoute,
      ...EmployeeRoute,
      ...OperatorRoute,
      ...ModuleRoute,
      ...PermissionRoute,
      ...RoleRoute,
      ...RoleAndPermissionRoute,
      ...OperatorAndRoleRoute,
                                                                                                            ]
  }
]


